package org.example.controller;

import org.example.config.GirlService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
public class NacosDemoController {

    @Resource
    private GirlService girlService;

    @GetMapping("/test")
    public String test(){
        girlService.service();
        return "ok";
    }
}
